//ES6 模块化 导出
var name = '小明'
var age = 22

function sum(num1, num2) {
    return num1 + num2
}

var flag = true
if (flag) {
    console.log(sum(10,20))
}

export {
    flag,sum,age
}
